<template>
    <div class="eatmain">
        <div class="e-top">
            <span class="select">精选</span>
            <span>菜谱</span>
            <span>关注</span>
        </div>
        <div class="e-bottom">
            <ul class="e-list">
                <li>
                    <img src="../../assets/img/首页/吃什么/奖杯.png" alt="">
                </li>
                <li>
                    <img src="../../assets/img/首页/吃什么/吃法灵感.png" alt="">
                </li>
                <li>
                    <img src="../../assets/img/首页/吃什么/秒杀泰国甜点.png" alt="">
                    <h1>秒杀泰国餐厅的甜品</h1>
                    <div class="name">
                        <div class="n-left">
                            <img src="../../assets/img/首页/吃什么/唐老鸭小图标.png" alt="">
                            <span>大狮子aiM</span>
                        </div>
                        <div class="n-right">
                            <img src="../../assets/img/首页/首页内容/小爱心.png" alt="">
                            <span>56</span>
                        </div>
                    </div>
                </li>
                <li>
                    <img src="../../assets/img/首页/吃什么/炖乌鸡.png" alt="">
                    <h1>[热门吃法]今冬滋补有新意，炖煮来点新鲜的>></h1>
                    <div class="name">
                        <div class="n-left">
                            <img src="../../assets/img/首页/吃什么/小河马.png" alt="">
                        </div>
                        <div class="n-right">
                            <img src="../../assets/img/首页/首页内容/小爱心.png" alt="">
                            <span>赞</span>
                        </div>
                    </div>
                </li>
                <li>
                    <img src="../../assets/img/首页/吃什么/炖乌鸡.png" alt="">
                    <h1>[热门吃法]今冬滋补有新意，炖煮来点新鲜的>></h1>
                    <div class="name">
                        <div class="n-left">
                            <img src="../../assets/img/首页/吃什么/小河马.png" alt="">
                        </div>
                        <div class="n-right">
                            <img src="../../assets/img/首页/首页内容/小爱心.png" alt="">
                            <span>赞</span>
                        </div>
                    </div>
                </li>
                <li>
                    <img src="../../assets/img/首页/吃什么/秒杀泰国甜点.png" alt="">
                    <h1>秒杀泰国餐厅的甜品</h1>
                    <div class="name">
                        <div class="n-left">
                            <img src="../../assets/img/首页/吃什么/唐老鸭小图标.png" alt="">
                            <span>大狮子aiM</span>
                        </div>
                        <div class="n-right">
                            <img src="../../assets/img/首页/首页内容/小爱心.png" alt="">
                            <span>56</span>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
.eatmain {
    background-color: #fff;
    border-radius: 20px;
    // margin: 10px 0;

    .e-top {
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;

        span {
            margin: 0 10px;
        }

        .select {
            color: #36A6C2;
            border-bottom: 2px solid #36A6C2;
        }
    }

    .e-bottom {
        .e-list {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            padding: 10px 0;

            li {
                margin: 5px 3px;
                width: 48%;
                background-color: #fff;
                border-radius: 0px;
                overflow: hidden;

                >img {
                    width: 100%;
                }

                .name {
                    padding: 0 5px;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    margin: 5px 0;

                    .n-left {
                        display: flex;
                        align-items: center;

                        img {
                            width: 30px;
                        }

                        span {
                            margin-left: 5px;
                        }
                    }

                    .n-right {
                        display: flex;
                        align-items: center;

                        img {
                            width: 20px;
                        }

                        span {
                            margin-left: 5px;
                        }
                    }
                }
            }
        }
    }
}
</style>